package com.example.ancientpoetryintelligencejava;

import com.example.ancientpoetryintelligencejava.core.CoreProcessor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

import java.util.List;

@SpringBootApplication
public class AncientPoetryIntelligenceJavaApplication {

    public static void main(String[] args) throws Exception {
        SpringApplication.run(AncientPoetryIntelligenceJavaApplication.class, args);
//        CoreProcessor query = new CoreProcessor("D:/data-for-1.7.5/data");
//        String[] questionArr = new String[] {"静夜思的作者是谁"};
//        for(String que: questionArr){
//            List<String> question = query.analysis(que);
//            System.err.println(question);
//        }
    }

}
